<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>个人中心 - Powered By faithby</title>
<meta name="Author" content="faithby Team" />
<meta name="Copyright" content="faithby" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<#include "admin/common_css.ftl">
<script type="text/javascript" src="${base}/apache/common/js/jquery.tools.minfull.js"></script>
<script type="text/javascript">
$(function() {
$("#validateForm").validator();
});
</script>
</head>
<body class="input">
	<div class="bar">
		个人信息修改
	</div>
	<div id="validateErrorContainer" class="validateErrorContainer">
		<div class="validateErrorTitle">以下信息填写有误,请重新填写</div>
		<ul></ul>
	</div>
	<div class="body">
		<form id="validateForm" action="${base}/faith/member/update" method="post">
			<input type="hidden" name="id" value="${id}" />
			<table class="inputTable">
				<tr>
					<th>
						用户名: 
					</th>
					<td>
						${member.username}
					</td>
				</tr>
				<tr>
					<th>
						用户真实姓名: 
					</th>
					<td>
						<input type="text" name="realName" class="formText" value="${(member.realName)!}" required="required" />
						<label class="requireField">*</label>
					</td>
				</tr>
				<tr>
					<th>
						密 码: 
					</th>
					<td>
						<input type="password" id="password" name="password" class="formText" required="required" />
						<label class="requireField">*</label>
					</td>
				</tr>
				<tr>
					<th>
						确认密码: 
					</th>
					<td>
						<input type="password" name="rePassword" class="formText" required="required" />
						<label class="requireField">*</label>
					</td>
				</tr>
				<tr>
					<th>
						E-mail: 
					</th>
					<td>
						<input type="email" name="email" class="formText" value="${(member.email)!}" required="required" />
						<label class="requireField">*</label>
					</td>
				</tr>
				<tr>
					<th>
						电话: 
					</th>
					<td>
						<input type="number" name="telephone" class="formText" value="${(member.telephone)!}" title="只允许输入零或正整数" required="required" />
						<label class="requireField">*</label>
					</td>
				</tr>
				<tr>
					<th>
						密码保护问题: 
					</th>
					<td>
						<input type="text" name="safeQuestion" class="formText" value="${(member.safeQuestion)!}" title="30个字符以内" required="required" />
						<label class="requireField">*</label>
					</td>
				</tr>
				<tr>
					<th>
						密码保护答案: 
					</th>
					<td>
						<input type="text" name="safeAnswer" class="formText" value="${(member.safeAnswer)!}" title="30个字符以内" required="required" />
					    <label class="requireField">*</label>
					</td>
				</tr>
				<tr>
					<th>
						&nbsp;<input type="hidden" name="username" value="${(member.username)!}" />
					</th>
					<td>
						&nbsp;
					</td>
				</tr>
			</table>
			<div class="buttonArea">
				<input type="submit" class="formButton" value="确  定" hidefocus />&nbsp;&nbsp;
				<input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回" hidefocus />
			</div>
		</form>
	</div>
</body>
</html>